package cn.xiaye.blog.bean;

public class Message {
	private int id;
	private String text;
	private String name;
	private int articleId;

	public Message(int id, String text, String name, int articleId) {
		this.id = id;
		this.text = text;
		this.name = name;
		this.articleId = articleId;
	}

	public Message() {
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getArticleId() {
		return articleId;
	}

	public void setArticleId(int articleId) {
		this.articleId = articleId;
	}

}
